package interfaces;

import java.sql.SQLException;
import java.util.Vector;

import basicas.Endereco;

public interface InterfaceEndereco {
	
	public abstract void cadastrarEndereco(Endereco E)
	throws ClassNotFoundException, SQLException;
	
	public abstract Vector listarEndereco()
	throws ClassNotFoundException, SQLException;
	
	public abstract Endereco consultarEndereco(int codigo)
	throws ClassNotFoundException, SQLException;
	
	public abstract void removerEndereco(int codigo)
	throws ClassNotFoundException, SQLException;
	
	public abstract void editarEndereco(int codigo, String logradouro, String bairro, String cidade, String estado, String cep)
	throws ClassNotFoundException, SQLException;

}
